package com.example.vue.controller;

import java.util.List;

public class ProductSearchParam {
    private String category3Id;      // 三级分类ID
    private String categoryName;    // 分类名称
    private String keyword;         // 搜索关键字
    private String order;           // 排序规则（格式："字段:排序方向"）
    private Integer pageNo = 1;         // 当前页码
    private Integer pageSize= 10;       // 每页大小
    private List<String> props;     // 属性筛选条件列表
    private String trademark;       // 品牌筛选条件

    // Getters and Setters
    public String getCategory3Id() {
        return category3Id;
    }

    public void setCategory3Id(String category3Id) {
        this.category3Id = category3Id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public List<String> getProps() {
        return props;
    }

    public void setProps(List<String> props) {
        this.props = props;
    }

    public String getTrademark() {
        return trademark;
    }

    public void setTrademark(String trademark) {
        this.trademark = trademark;
    }

    @Override
    public String toString() {
        return "ProductSearchParam{" +
                "category3Id='" + category3Id + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", keyword='" + keyword + '\'' +
                ", order='" + order + '\'' +
                ", pageNo=" + pageNo +
                ", pageSize=" + pageSize +
                ", props=" + props +
                ", trademark='" + trademark + '\'' +
                '}';
    }
}
